package com.ocom.common.entity.master;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "company_list")
public class EntityCompanyList implements Serializable {


    private static final long serialVersionUID = -7196239069948572955L;
    @TableId(value = "com_id")
    private Long comId;
    private String saasNo;
    @TableField(value = "saas_id")
    private Long saasId;
    private String comName;
    private Long isAgent;
    private Long agentId;
    private Long comType;
    private Long comStatus;
    private String province;
    private String city;
    private String color;
    private String logoUrl;

    private String district;
    private String contPerson;
    private String contPhone;
    private String contEmail;
    private String contAddress;
    private String remark;
    private Integer mjStatus;
    private Integer xfStatus;
    private Long createUserid;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    private Integer commType;
    private Long commNums;

    private Integer maxUserNum;
    private Integer maxXfMachNum;
    private Integer maxMjMachNum;
    private Integer maxTableNum;
    private Integer maxChannelNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
